/*
 * @Author: 飞越疯人院 353362604@qq.com
 * @Date: 2022-06-13 16:45:28
 * @LastEditors: 飞越疯人院 353362604@qq.com
 * @LastEditTime: 2022-06-14 09:40:29
 * @FilePath: \adminstration\src\Common\Currency\404.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import { Button, Result } from 'antd'
import { useNavigate } from 'react-router-dom'
const NO404 = () => {
    const Navigate = useNavigate()
    return (
        <div className="NO404">
            <Result
                status="404"
                title="404"
                subTitle="Sorry, the page you visited does not exist."
                extra={
                    <Button type="primary" onClick={() => Navigate('/')}>
                        重新登录
                    </Button>
                }
            />
        </div>
    )
}

export default NO404
